core: Support for committing from any libarchive-supported format
authorColin Walters <walters@verbum.org>
Sun, 4 Dec 2011 17:14:08 +0000 (12:14 -0500)
committerColin Walters <walters@verbum.org>
Sun, 4 Dec 2011 19:08:55 +0000 (14:08 -0500)
commit17cc772cf366c187bab05de3320ac0b1bd0795e0
tree860bf55d7cfc446f81052cd6ccd22dd0ee247c30
parentf9315e8f82556f771768befe84e26e91ad301441
core: Support for committing from any libarchive-supported format

We really want the ability to take a .tar.gz and directly import
it into a repository, without creating a temporary filesystem tree.

First, doing it this way is significantly faster.  Also, this allows
us to handle importing tar files with e.g. uid 0 files into packed
repositories as non-root, which is very useful for tests and builds.
Makefile-libostree.am
configure.ac
src/libostree/ostree-libarchive-input-stream.c [new file with mode: 0644]
src/libostree/ostree-libarchive-input-stream.h [new file with mode: 0644]
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-commit.c
tests/t0006-libarchive.sh [new file with mode: 0755]